package com.ruoyi.project.applet.domain;

import com.ruoyi.project.system.domain.SysUserWx;
import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品对象 t_good
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
public class Good extends BaseEntity
{
    /** $column.columnComment */
    private String id;

    /** 类目ID */
    @Excel(name = "类目ID")
    private String categoryId;

    /** openId */
    @Excel(name = "openId")
    private String userId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    private String goodName;
    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String marital;

    /** 学历 */
    @Excel(name = "学历")
    private String educational;

    /** 申贷/助贷金额 */
    @Excel(name = "申贷/助贷金额")
    private String loanApplyAmount;

    /** 申请种类 */
    @Excel(name = "申请种类")
    private String applyType;

    /** 地址 */
    @Excel(name = "地址")
    private String addressInfo;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phonenumber;

    /** 从业年限 */
    @Excel(name = "从业年限")
    private String workYear;

    private String workUnit;

    /** 图片 */
    @Excel(name = "图片")
    private String firstImgUrl;
    private List<Url> firstImg;

    /** 图片 */
    @Excel(name = "图片")
    private String secondImgUrl;
    private List<Url> secondImg;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出售数量 */
    @Excel(name = "出售数量")
    private Long saleNumber;

    /** 价格 */
    @Excel(name = "价格")
    private Double price;

    /** 商品品质 */
    @Excel(name = "商品品质")
    private String quality;

    /** 就读学校 */
    @Excel(name = "就读学校")
    private String school;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    private String collectStatus;

    /** 0正常；1删除 */
    private String delFlag;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthDay;

    /** 微信号码 */
    @Excel(name = "微信号码")
    private String wechat;

    /** 助贷意向 */
    @Excel(name = "助贷意向")
    private String intent;

    /** 单位职称 */
    @Excel(name = "单位职称")
    private String leader;

    /** 就读年级 */
    @Excel(name = "就读年级")
    private String grade;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String emergencyContact;

    /** 工作地址 */
    @Excel(name = "工作地址")
    private String workAddress;

    /** 客户评分 */
    private Double customerRating;


    private SysUserWx userWx;

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getIntent() {
        return intent;
    }

    public void setIntent(String intent) {
        this.intent = intent;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getWorkAddress() {
        return workAddress;
    }

    public void setWorkAddress(String workAddress) {
        this.workAddress = workAddress;
    }

    public Double getCustomerRating() {
        return customerRating;
    }

    public void setCustomerRating(Double customerRating) {
        this.customerRating = customerRating;
    }



    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }


    public String getCollectStatus() {
        return collectStatus;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public void setCollectStatus(String collectStatus) {
        this.collectStatus = collectStatus;
    }

    public SysUserWx getUserWx() {
        return userWx;
    }

    public void setUserWx(SysUserWx userWx) {
        this.userWx = userWx;
    }

    public String getGoodName() {
        return goodName;
    }


    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public List<Url> getFirstImg() {
        return firstImg;
    }

    public void setFirstImg(List<Url> firstImg) {
        this.firstImg = firstImg;
    }

    public List<Url> getSecondImg() {
        return secondImg;
    }

    public void setSecondImg(List<Url> secondImg) {
        this.secondImg = secondImg;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCategoryId(String categoryId)
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId()
    {
        return categoryId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setMarital(String marital)
    {
        this.marital = marital;
    }

    public String getMarital()
    {
        return marital;
    }
    public void setEducational(String educational)
    {
        this.educational = educational;
    }

    public String getEducational()
    {
        return educational;
    }

    public String getLoanApplyAmount() {
        return loanApplyAmount;
    }

    public void setLoanApplyAmount(String loanApplyAmount) {
        this.loanApplyAmount = loanApplyAmount;
    }

    public void setApplyType(String applyType)
    {
        this.applyType = applyType;
    }

    public String getApplyType()
    {
        return applyType;
    }
    public void setAddressInfo(String addressInfo)
    {
        this.addressInfo = addressInfo;
    }

    public String getAddressInfo()
    {
        return addressInfo;
    }
    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }
    public void setWorkYear(String workYear)
    {
        this.workYear = workYear;
    }

    public String getWorkYear()
    {
        return workYear;
    }
    public void setFirstImgUrl(String firstImgUrl)
    {
        this.firstImgUrl = firstImgUrl;
    }


    public String getFirstImgUrl()
    {
        return firstImgUrl;
    }
    public void setSecondImgUrl(String secondImgUrl)
    {
        this.secondImgUrl = secondImgUrl;
    }

    public String getSecondImgUrl()
    {
        return secondImgUrl;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setSaleNumber(Long saleNumber)
    {
        this.saleNumber = saleNumber;
    }

    public Long getSaleNumber()
    {
        return saleNumber;
    }
    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }
    public void setQuality(String quality)
    {
        this.quality = quality;
    }

    public String getQuality()
    {
        return quality;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("categoryId", getCategoryId())
                .append("userId", getUserId())
                .append("name", getName())
                .append("age", getAge())
                .append("marital", getMarital())
                .append("educational", getEducational())
                .append("loanApplyAmount", getLoanApplyAmount())
                .append("applyType", getApplyType())
                .append("addressInfo", getAddressInfo())
                .append("phonenumber", getPhonenumber())
                .append("workYear", getWorkYear())
                .append("firstImgUrl", getFirstImgUrl())
                .append("secondImgUrl", getSecondImgUrl())
                .append("sex", getSex())
                .append("saleNumber", getSaleNumber())
                .append("price", getPrice())
                .append("quality", getQuality())
                .append("school", getSchool())
                .append("description", getDescription())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}